switchroot: Move `path_is_on_readonly_fs` to header file
authorWilliam Manley <will@williammanley.net>
Tue, 30 Aug 2016 21:49:15 +0000 (22:49 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 30 Aug 2016 22:41:27 +0000 (22:41 +0000)
commit1dc69dc879612abfd6509a1e81c04990fed8ea49
tree62c7a35dcd215f2e56abae26ea75c300593239bc
parenta128abd9bcf9842ae7cd61ef951b5345573c3df6
switchroot: Move `path_is_on_readonly_fs` to header file

This simplifies the build system by removing the need for
`libswitchroot-mountutil.la`.

Original idea by @cgwalters in #477.

Closes: #478
Approved by: cgwalters
Makefile-switchroot.am
src/switchroot/ostree-mount-util.c [deleted file]
src/switchroot/ostree-mount-util.h